export interface CreateOrUpdatePipelineRequestData {
  id?: string
  userName: string
  password?: string
  name: string
  phone: string
}

export interface GetPipelineRequestData {
  /** 当前页码 */
  currentPage: number
  /** 查询条数 */
  size: number
  /** 查询参数：用户名 */
  userName?: string
  /** 查询参数：手机号 */
  phone?: string
}

export interface GetPipelineData {
  userName: string
  name: string
  id: string
  phone: string
  password: string
}

export type GetPipelineResponseData = ApiResponseData<{
  rows: GetPipelineData[]
  total: number
}>
